473,463 Members | 1,350 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

unable to read a dbf file with oledb

I'm having trouble using oledb for accessing a dbf file.
The error returned is:

OleDbException (0x80004005): Could not find installable
ISAM

I couldn't find any relavent info online about this.
Perhaps someone has dealt with this in the past and could
recommend a solution.

My goal is to read the dbf file into a dataset. Is there
a better way to do this?

Your advice will be greatly appreciated.

Thanks,

Andrew Pasetti

string strConn = "Provider=Microsoft.Jet.OLEDB.4.0;"
+ "Data source=someFile.ddf;"
+ "Extended Properties=\"dBase
4.0;HDR=YES\"";
OleDbDataAdapter excelTest = new OleDbDataAdapter("SELECT
* FROM [Sheet1$]", strConn);

Nov 15 '05 #1
0 2048

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Thomas Scheiderich | last post by:
I have a page that is trying to connect to my SQL Database. All the code I have seen shows me to connect the same way. The error I am getting says: Error Type: Microsoft OLE DB Provider for...
6
by: Maurice Mertens | last post by:
Hi, how can I open and read a DbaseIII file in .NET? -- Met vriendelijke groet / With regards / Saludos, Moviat Automatisering
1
by: Roger Twomey | last post by:
I have a form that allows a user to upload a microsoft Excel Spreadsheet. (I am testing with one created in Excel 2000) The spreadsheet is uploaded correctly. It is then supposed to be read...
2
by: Darin | last post by:
I have the following code that opens a comma-delimited text file: connS = "Provider=Microsoft.Jet.OLEDB.4.0;" connS &= "Data Source=\tmp;" connS &= "Extended...
4
by: Antonio Tirado | last post by:
Hi, I'm using the OleDB namespace to open a CSV File. I can read the file sucessfully except for hyphenated values. My CSV File contains phone numbers and sometimes these come separated with...
0
by: isis5 | last post by:
i am using c# to parse some excel files to oracle.these files are created by an automated 3rd party process and we have no control over the naming convention and the version is excel 4.0 and the...
0
by: tom | last post by:
When I try to read in a csv file it gives me this error message. 'Cannot update. Database or object is read-only.' If I change the extension to txt it processes just fine. I have googled all...
6
Cintury
by: Cintury | last post by:
Hi all, I've developed a mobile application for windows mobile 5.0 that has been in use for a while (1 year and a couple of months). It was developed in visual studios 2005 with a back-end sql...
0
by: gobblegob | last post by:
Hello All, I am getting an error trying to update datagridview1 , what i am trying to do is search for an item (BarCode.text) and then display the results to datagridview1 but i just cannot manage...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.